<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index_mylogin</title>
</head>
<body>
{% if user %}
    当前用户:{{ user }}
{% endif %}
<br>
<a href="{% url 'mylogin:logoutx' %}">注销</a>
</body>
</html>